<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title> </title>
<link href="default.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>

<jsp:include page="/header.jsp" />

<div id="wrapper">
	<!-- start page -->
	<div id="page">
		<jsp:include page="/sideMenuLeft.jsp" />
		<!-- start content -->
		<div id="content">			
			<div class="post">
				<h1 class="title">Logout</h1>
				<p class="byline"><br ></p>
				<div class="entry">
					 <%
    	
	String userName=(String)session.getAttribute("userName");			
	if(userName != null)
	{
		session.invalidate();
		out.println("You have successfully Logged out, Login again");
		%>
		<a href="index.jsp">here</a>
		<%
	}else{
		response.sendRedirect("index.jsp")	;
		}
    %>
    	
				</div>
			</div>
			
		</div>
		<!-- end content -->
		<!-- start sidebars -->
		<jsp:include page="/sideMenuRight.jsp" />
		<!-- end sidebars -->
		<div style="clear: both;">&nbsp;</div>
	</div>
	<!-- end page -->
</div>
<jsp:include page="/footer.jsp" />
</body>
</html>







